<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            padding: 0;
            margin: 0;
            list-style-type: none;
        }
        .mainBox{
            width: 800px;
            height: 100vh;
            margin: 0 auto;
        }
        a{
            text-decoration: none;
        }
        ul:first-child::first-line{
            background-color: #5d376b;
        }
        ul li:last-child{
            background-color: aqua;
        }
    </style>
</head>

<body>
    <div class="mainBox">
        <ul>
            <li>哈基米</li>
            <li>无敌曼波</li>
            <li>南北绿豆</li>
            <li>大狗嚼嚼嚼</li>
        </ul>
    </div>
</body>

</html>